WSAL\Controllers\Alert_Manager D

Total Complexity 208
Dependencies 21
Dependents 42
Total lines 1,470
Lines of code 695
Logical lines of code 353
Comment lines 478
Methods 42
Properties 15

Methods 42

Method Rating Maintainability Complexity Lines of code
log()
C
38 27 59
trigger_event()
B
45 18 39
trigger_event_if()
A
45 16 40
was_triggered_recently()
A
51 13 23
get_event_user_data()
A
46 10 39
get_alert_details()
A
43 7 44
is_ip_address_disabled()
S
53 7 23
get_categorized_alerts()
S
54 7 22
get_latest_events()
S
47 6 36
was_triggered()
S
57 7 16
register()
S
47 5 36
is_disabled_role()
S
57 6 18
get_event_type_data()
S
43 4 46
commit_item()
S
57 6 15
get_event_objects_data()
S
46 4 36
will_trigger()
S
61 5 12
check_enable_user_roles()
S
65 5 9
get_admin_bar_event()
S
60 4 12
get_alerts()
S
62 4 12
get_alerts_by_category()
S
62 4 12
get_alerts_by_sub_category()
S
62 4 12
get_ignored_post_types()
S
59 3 17
get_alert_property()
S
65 4 9
register_group()
S
65 4 9
get_loggers()
S
64 3 9
remove_from_ignored_post_types()
S
65 3 9
get_all_post_types()
S
65 3 9
get_deprecated_events()
S
64 2 6
commit_pipeline()
S
67 2 7
will_or_has_triggered()
S
77 2 3
is_disabled_user()
S
70 2 6
duplicate_event_notice()
S
62 1 11
has_triggered()
S
78 1 3
log_problem()
S
65 1 10
log_error()
S
78 1 3
log_warn()
S
78 1 3
log_info()
S
79 1 3
add_logger_instance()
S
76 1 4
get_wp_users()
S
80 1 3
is_enabled()
S
74 1 4
is_disabled_post_type()
S
78 1 3
init()
S
78 1 3